package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 用户创业
 *
 * @author 16693103420
 * @since 2024-02-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tmp_entrepreneurs_user")
public class EntrepreneursUserModel implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;//创业用户报名表ID
    private String userName;//用户姓名
    private String phone;//手机号
    private Integer userId;//用户ID
    private Integer entrepreneursId;//创业ID
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp updateTime;
}
